package com.company.project.mapper;

import com.company.project.pojo.roleVillage.RoleVillage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.project.pojo.roleVillage.RoleVillageDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2019-08-17
 */
@Mapper
public interface RoleVillageMapper extends BaseMapper<RoleVillage> {

    /*根据角色id查询村庄*/
    List<RoleVillageDTO> getRoleVillageListByRoleId(Integer roleId);

}
